package com.qfedu.yanglao20.entity.orderlist;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qfedu.yanglao20.common.param.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * (OrderList)实体类
 *
 * @author makejava
 * @since 2023-05-02 21:10:08
 */
@ApiModel("订单列表")
public class OrderList extends PageParam implements Serializable {
    private static final long serialVersionUID = 459595007171676846L;
    /**
     * 订单列表
     */
    @ApiModelProperty("订单列表id")
    private Integer id;
    /**
     * 订单编号
     */
    @ApiModelProperty("订单编号")
    private String indentId;
    /**
     * 下单时间
     */
    @ApiModelProperty("下单时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**
     * 实付金额
     */
    @ApiModelProperty("实付金额")
    private String amount;
    /**
     * 残疾人id（ID）
     */
    @ApiModelProperty("残疾人id（ID）")
    private String accountId;
    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("更新时间")
    private Date updateTime;
    /**
     * 服务类型id
     */
    @ApiModelProperty("服务类型id")
    private String adhibitionId;
    /**
     * 陪护员
     */
    @ApiModelProperty("陪护员")
    private String caregiver;
    /**
     * 状态
     */
    @ApiModelProperty("状态")
    private Integer state;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getIndentId() {
        return indentId;
    }

    public void setIndentId(String indentId) {
        this.indentId = indentId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getAdhibitionId() {
        return adhibitionId;
    }

    public void setAdhibitionId(String adhibitionId) {
        this.adhibitionId = adhibitionId;
    }

    public String getCaregiver() {
        return caregiver;
    }

    public void setCaregiver(String caregiver) {
        this.caregiver = caregiver;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

}

